package com.aggregate.pay.lianlianpay.support.client;

import com.aggregate.pay.lianlianpay.bean.QueryBalanceData;
import com.aggregate.pay.lianlianpay.bean.QueryBalanceResult;
import com.aggregate.pay.lianlianpay.support.AbstractClient;
import com.aggregate.pay.lianlianpay.support.Merch;

/**
 * 余额查询接口
 * @author Moyq5
 * @date 2019年4月26日
 */
public class QueryBalance extends AbstractClient<QueryBalanceData, QueryBalanceResult> {

	public QueryBalance(Merch merch) {
		super(merch);
	}

	@Override
	protected Class<QueryBalanceResult> resultClass() {
		return QueryBalanceResult.class;
	}

	@Override
	protected String serverPath() {
		return "https://traderapi.lianlianpay.com/traderAcctQuery.htm";
	}

	@Override
	protected boolean isEncrypt() {
		return false;
	}

}
